
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<title>{$Detail.title} - 一起php</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="{$Detail.summary}" />
<meta name="keywords" content="" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />

<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="/Public/book/css/style.css?v=20150824007">
<link rel="stylesheet" href="/Public/book/css/app.min.css?v=20150824007">

<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
</head>
<body>
    <!--[if lt IE 8]>
        <div class="m-browsehappy">
            <div class="browsehappy-inner">
                <h3 class="title">对不起！<br>您的浏览器版本太低，请升级你的浏览器</h3>
                <p class="suggest">建议使用：</p>
                <p class="brower">
                    <span class="item">
                        <a class="ie image" href="http://www.microsoft.com/library/errorpages/smarterror.aspx" target="_blank" title="下载Internet Explorer浏览器"></a>
                        <b class="text">ie9+</b>
                    </span>
                    <span class="item">
                        <a class="chrome image" href="http://www.google.cn/intl/zh-CN/chrome/browser/?spm=1.7274553.0.0.benzR1" target="_blank" title="下载Chrome浏览器"></a>
                        <b class="text">chrome</b>
                    </span>
                </p>
                <p class="from">--来自看云官方</p>
                <b class="browsehappy-arrow"></b>
            </div>
        </div>
        <script>
            window.nonsupportIE = true;
        </script>
    <![endif]-->

    <div class="m-page page-chancel ">
        <div class="page-head">
            <div class="left">
                <a class="e-brand" href="/"></a>
                <ul class="m-navg">
                    <li class="navg-item"><a class="navg-link" href="{:U('Book/index')}">书库</a></li>
                </ul>

                <form id="topbarSearch" class="w-search" autocomplete="off" method="get" action="{:U('Book/search')}">
                    <label class="w-text text-m text-full search-enter"><input type="text" placeholder="请输入搜索关键词..." name="keyword" value="" class="text-input"></label>
                    <button type="submit" class="search-btn icon-search"></button>
                </form>
            </div>
            <div class="right">
                <span class="auth"> <a class="link login" href="/user/login">登录</a> <a class="link register" href="/user/register">注册</a>
                </span>
            </div>
            <button type="button" class="m-navg-toggle collapsed">
                <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
            </button>
        </div>
        <div class="page-body">

            <div class="m-topic m-square">
                <div style="display: none;">
                    <img src="{$Detail.thumb}" />
                </div>
                <div class="topic-catalog">
                    <div class="m-manual-list manual-list-recome">
                        <div class="list-item">
                            <dl class="m-manual-item manual-item-standard">
                                <dt>
                                    <a class="e-cover" href="{:U('Book/info?bookid='.$bookid)}"> <img class="cover b-cover" width="173" height="231" title="{$Detail.title}" src="{$Detail.thumb}">
                                    </a>
                                </dt>
                                <dd>最后更新时间：{$Detail.last_chapter_update_time|date="m月d日", ###}</dd>
                            </dl>
                            <!-- <dl class="m-manual-item manual-item-standard">
                                <dt class="code">
                                    <img class="cover qrcode" width="173" height="" title="2014中国互联网发展报告" src="/qrcode?url=http://www.kancloud.cn/kancloud/china-internet-report-2014/49684">
                                </dt>
                                <dd class="code-text">扫一扫用手机观看</dd>
                            </dl> -->
                        </div>
                    </div>
                </div>
                <div class="topic-main">
                    <div class="m-tab tab-theme-b">
                        <div class="tab-navg">
                            <a id="entrance_summary" href="javascript:;" class="navg-item active">概要</a> <a id="entrance_directory" href="javascript:;" class="navg-item">目录</a>
                            <div class="pull-right">
                                <div class="navg-item m-share-list share-s share-box">
                                    <a class="weixin" href="javascript:;" data-sharing="wechat" title="微信">微信</a> <a class="cqq" href="javascript:;" data-sharing="qq" title="qq">qq</a> <a class="tsina" href="javascript:;" data-sharing="weibo" title="新浪微博">新浪微博</a>
                                </div>
                            </div>
                        </div>
                        <div class="ent-wrap">
                            <div id="summary">
                                <div class="book-info">
                                    <div class="cover-box hide">
                                        <a class="e-cover" href="{:U('Book/info?bookid='.$bookid)}"> <img class="cover" title="{$Detail.title}" src="{$Detail.thumb}">
                                        </a>

                                        <p class="last-time">最后更新时间：{$Detail.last_chapter_update_time|date="m月d日", ###}</p>
                                    </div>
                                    <h2 id="articleTitle">{$Detail.title}</h2>
                                </div>
                                <div class="book-info">
                                    <a href="/@kancloud" class="e-user"> <img class="user-avatar" width="30" height="30" src="http://box.kancloud.cn/team_2015-07-04_55974ac8b3a5_173x173.jpg">{$Detail.author}
                                    </a>
                                </div>
                                <div class="book-info mobile">
                                    <span class="e-data data-hollow" title="阅读"> <b class="data-name">阅读：</b> <b class="data-number">11391</b>
                                    </span> <span class="e-data data-hollow" title="关注"> <b class="data-name">关注：</b> <b id="manualFollowNumber" class="data-number">2</b>
                                    </span>
                                </div>
                                <div class="book-info">
                                    <ul class="manual-navg m-navg">
                                        <li class="navg-item recommend reader"><a href="{:U('Book/view?bookid='.$bookid.'&id='.$chapter_list[0][id])}" class="e-data data-split w-btn btn-l btn-yellow reader" target="_self"> <b class="text btn-input reader-btn"><i class="icon icon-assignment"></i> 阅读</b>
                                        </a></li>
                                        <!-- <li class="navg-item follow mobile"><span id="manualFollow" class="e-data data-split w-btn btn-l btn-success"> <b class="name btn-input"><i class="icon icon-eye"></i> <b class="text">加关注</b></b>
                                        </span></li> -->
                                    </ul>
                                </div>
                                <div id="articleDescription" class="book-info">
                                    <pre>
                                        <p class="book-content">{$Detail.summary}</p>
                                    </pre>
                                </div>
                            </div>
                            <div id="directory" class="m-comment">
                                <div class="book-info comment-result">
                                    <strong class="title">目录</strong>
                                    <ul class="directory-list">
                                        <foreach name="chapter_list" item="item">
                                        <li>
                                            <a href="{:U('Book/view?bookid='.$bookid.'&id='.$item[id])}"> <span>{$item.title}</span></a>
                                        </li>
                                        </foreach>
                                        
                                    </ul>
                                </div>
                            </div>
                            <div id="comment" class="article-comment">
                                <div id="articleComment" class="m-comment"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <div class="page-foot">

            <div class="m-copyright">© 2015 <a href="http://www.yiqiphp.tk/" target="_blank">一起PHP</a></div>

        </div>
    </div>
    <script src="/Public/book/js/sea.js"></script>
    <script>
    seajs.config({
        base: "/Public/book/",
        paths: {
            'home': 'home/script',
            'common': 'common/script',
            'document': 'document/script',
            'component': 'component'
        },
        preload : [
            'component/jquery'
        ],
        alias: {
            'config': 'common/module/config'
        },
        map: [
            [ /^(.*\.(?:css|js))(.*)$/i, '$1?v=20150824007']
        ],
        debug: true
    });
    </script>
    <script src="/Public/book/js/app.min.js?v=20150824007"></script>
    <script>
    seajs.use('config',function(config){
        //设置项目配置
        config.set({
            "ROOT"   : "", //当前网站地址
            "APP"    : "", //当前项目地址
            "STATIC"    : "/Public/book", //静态资源文件地址
            "PUBLIC" : "/Public/book", //home目录地址
            'isLogin' : false,
            'checkNotification':true
        });
        seajs.use('home/globle',function(globle){
            globle === false || 
    seajs.use('config', function(config){
        //设置页面配置
        config.set({
            bookId : 3464,
            sharePicUrl : "{$Detail.thumb}",
            getDownloadUrl : "/book/export/download",
            isComment : 0,
            isDownload : 0,
            checkDownloadStatusUrl : "/book/export/status",
            commentVotePath : "/user/comment/vote",
            commentOnePath : "/user/comment/detail",
            commentListPath : "/user/comment/lists",
            commentDelPath : "/user/comment/delete",
            commentAddPath : "/user/comment/create",
            followTotal : '2',
            getFollowUrl : "/book/attention/lists",
            confirmFollowUrl : "/book/attention/confirm",
            cancelFollowUrl : "/book/attention/cancel",
        });
        //启动页面脚本
        seajs.use('home/reader/entrance');
    });
;
        });
    });
    </script>
</body>
</html>